<script>
$(document).ready(function(){ 
    $("#dialog").dialog({ title: '<?=ucfirst($this->actionName) .' '.ucfirst($this->controllerName)?> ' });
    <?if($this->conceptos):?>
    $("#ajax_form input[name=concepto]").autocomplete(<?=$this->conceptos?>); 
    <?endif?>
})

</script>


<?php 
$this->form->setAction($this->url());


echo $this->form;


echo $this->partial('form_js.phtml', 
    array(	
        'actionName'=>$this->actionName,
        'id'=>$this->id,
        'id_tablesorter'=>$this->id_tablesorter,
        'onready'=>$script,
        )
);


